//
//  XHPageIndexPath.m
//  XHNewsFramework
//
//  Created by 曾 宪华 on 14-1-24.
//  Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群（142557668）. All rights reserved.
//

#import "XHPageIndexPath.h"

@implementation XHPageIndexPath

- (instancetype)initWithPage:(NSInteger)page row:(NSInteger)row section:(NSInteger)section {
    self = [super init];
    if (self) {
        self.page = page;
        self.row = row;
        self.section = section;
    }
    return self;
}

+ (instancetype)panelIndexPathForPage:(NSInteger)page row:(NSInteger)row section:(NSInteger)section {
    return [[self alloc] initWithPage:page row:row section:section];
}

+ (id)panelIndexPathForPage:(NSInteger)page indexPath:(NSIndexPath *)indexPath {
    return [[self alloc] initWithPage:page row:indexPath.row section:indexPath.section];
}

@end
